<!--{eval $user = $this->session->userdata('user') ? $this->session->userdata('user') : ''}-->
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />
<meta name="description" content="WillLee" />
<title>Tdaye</title>
<link href="<!--{eval echo base_url();}-->resources/css/admin.css" rel="stylesheet" type="text/css" media="all"/>
<link href="<!--{eval echo base_url();}-->resources/css/smoothness/jquery_ui.css" rel="stylesheet" type="text/css" media="all"/>
<script src="<!--{eval echo base_url();}-->resources/js/jquery.min.js" type="text/javascript"></script>
<script src="<!--{eval echo base_url();}-->resources/js/jquery-ui.min.js" type="text/javascript"></script>
<script src="<!--{eval echo base_url();}-->resources/js/jquery.json.js" type="text/javascript"></script>
<script src="<!--{eval echo base_url();}-->resources/js/jquery.form.js" type="text/javascript"></script>
</head>
<body>
	<div id="header">
		<div class="headerwarp">
			<h1 class="logo"><a href="<!--{eval echo base_url();}-->"><img src="<!--{eval echo base_url();}-->resources/images/icon.png" width="30" /></a></h1>
			<ul class="menu">
				<li><a href="<!--{eval echo base_url().'admin/index';}-->">首页</a></li>
				<li><a href="<!--{eval echo base_url();}-->" target="_blank">前台首页</a></li>
			</ul>
		
			<div class="nav_account">
			<!--{if $user}-->
				欢迎您,$user[name] 
				<a href="{SITEURL}admin/login/logout/">退出</a>
			<!--{else}-->
				欢迎您<br>
			<!--{/if}-->
			</div>
			</div>
		</div>
	</div>
	<div id="wrap">
	<div id="main">